package cn.itcast.day04.demo01;

/**
 * @author shkstart
 * @create 2020-04-20 19:14
 */
public class Person {
    private String name = "xiaoming";
    private int age = 12;

    @Override
    public String toString(){
        return "Person{" + "name='" + name + '\'' + ",age=" + age + '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
